import Vue from 'vue'
// 导入minit ui和样式
import 'mint-ui/lib/style.css'
import { Button, Header, Swipe, SwipeItem, Toast, Lazyload,Switch } from 'mint-ui'


Vue.component(Button.name, Button)
Vue.component(Header.name, Header)
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
Vue.component(Switch.name, Switch);
Vue.use(Lazyload);

Vue.prototype.$Toast = Toast